package com.liuya.safe.policy.dao;

import com.liuya.base.BaseMapper;
import com.liuya.safe.model.SafeQuery;
import org.springframework.stereotype.Repository;

import java.util.List;

//@Repository(value = "safeQueryMapper")
//@Repository("safeQueryMapper")
@Repository
public interface SafeQueryMapper extends BaseMapper<SafeQuery> {
    int deleteByPrimaryKey(Integer id);

    int insert(SafeQuery record);

    SafeQuery selectByPrimaryKey(Integer id);

    List<SafeQuery> selectAll();

    int updateByPrimaryKey(SafeQuery record);
}